package com.wangxl.test.simplefactorymodel.simplecomputer;
/**
 * 
  * @author: wangxl
  * @description: 客户端
  * @date :2018年8月16日下午4:55:15
  * @email:475524154@qq.com
  * @return:
  * @
 */
public class Client
{
	public static void main(String[] args)
	{
		Operation operation;
		operation = OperationFactory.createOperate("*");
		operation.setNumA(11);
		operation.setNumB(2);
		double result = operation.getResult();
		System.out.println(result);
	}

}
